package com.caiyouxi.user.service;

import com.caiyouxi.common.bean.ResData;
import com.caiyouxi.user.model.PublicAttributeBean;
import com.caiyouxi.user.model.UserProfileBean;
import com.caiyouxi.user.util.message.SendSms;

/**
 * Created by Administrator on 2017/11/11.
 */
public interface UserService {

    public ResData verify_exist( PublicAttributeBean publicAttributeBean);

    public ResData validate_realname(PublicAttributeBean publicAttributeBean);

    public ResData validate_phone_code( PublicAttributeBean publicAttributeBean);

    public ResData send_phone_code( PublicAttributeBean publicAttributeBean,SendSms sendSms);

    public ResData reset_pswd( UserProfileBean userProfileBean,SendSms sendSms);

    public ResData reset_password(UserProfileBean userProfileBean , SendSms sendSms);

    public ResData reg( PublicAttributeBean publicAttributeBean);

    public ResData phone_reg( PublicAttributeBean publicAttributeBean);

    public ResData phone_login( PublicAttributeBean publicAttributeBean);

    public ResData login(PublicAttributeBean publicAttributeBean);

    public ResData get_by_token(PublicAttributeBean publicAttributeBean);

    public ResData email_reg( PublicAttributeBean publicAttributeBean);

    public ResData email_login( PublicAttributeBean publicAttributeBean);

    public ResData change_password( PublicAttributeBean publicAttributeBean);

    public ResData change_nickname( PublicAttributeBean publicAttributeBean);

    public ResData bind_phone( PublicAttributeBean publicAttributeBean);

    public ResData auto_reg( PublicAttributeBean publicAttributeBean);

    public ResData auto_login( PublicAttributeBean publicAttributeBean);

    public ResData realname_exist( PublicAttributeBean publicAttributeBean);
}
